package cn.wonderland.community.util;

import org.springframework.stereotype.Component;

import java.util.UUID;

@Component
public class GetAccessKey {

    public static String getAccessKey() {
        String uuid = UUID.randomUUID().toString().replace("-", "");
        return uuid.substring(0, 32);
    }
}
